package com.leyu.mall.common.facade;

 
import java.util.List;

import com.leyu.mall.domain.goods.GoodsBase;

/**
 * 
 * <p>标题： </p>
 * <p>功能： </p>
 * <p>版权： Copyright (c) 2012</p>
 * <p>公司: 北京有为科技有限公司</p>
 * <p>创建日期：2012-10-16 下午08:43:54</p>
 * <p>类全名：com.leyu.mall.common.facade.IGoodsBaseFacade</p>
 * 
 * 作者：
 * 初审：
 * 复审：
 * @version 8.0
 */
public interface IGoodsBaseFacade {
	public List<GoodsBase> getAllGoodsBase() throws Exception;

	public GoodsBase getGoodsBaseById(Long id) throws Exception;

	public void deleteGoodsBase(Long id) throws Exception;
	
	public int save(GoodsBase entity) throws Exception;
	
	/**
	 * 获取新品
	 * @return
	 * @throws Exception
	 */
	public List<GoodsBase> getNewGoodsList() throws Exception;
	public List<GoodsBase> getHotGoodsList() throws Exception;
	public List<GoodsBase> getPromotionGoodsList() throws Exception;
	public List<GoodsBase> getGroupGoodsList() throws Exception;
}